#!/bin/bash

fcname=fastsheep
fcroot=$(cd `dirname $0`; pwd)
fcstart=$(date +%s)
fctime=$(date +%Y%m%d-%H%M%S)
fcbackup="/var/backups/$fcname/$fctime"

ffinclude()
{
    for x in $1
    do
        . $fcroot/$x
    done
}


ffinclude "lib env system security soft"

ffenv

ffsystem

#ffsecurity

#ffsoft

fcend=$(date +%s)
fcspendtime=$(( $fcend - $fcstart ))
ffdialog "We have done, all spend time is $fcspendtime seconds\n\nPress Ok to restart system"


#reboot
